-- GENERATED SPELL FOR [Forgotten Depths Slayer] --


function spell0_30593(pUnit, Event) --@Claw Slash,n/a--
pUnit:FullCastSpellOnTarget(54185,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30593', 655, 1)
end

function Sorts_30593(pUnit, Event)
local choix_sorts_30593 = math.random(0, 0)
if choix_sorts_30593 == 0 then
pUnit:RegisterEvent('spell0_30593', 1, 1)
end
end

function mob30593_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30593', math.random(1500, 3000), 1)
end

function mob30593_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30593_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30593_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30593, 1, 'mob30593_Action')
RegisterUnitEvent(30593, 2, 'mob30593_Leave')
RegisterUnitEvent(30593, 3, 'mob30593_Kill')
RegisterUnitEvent(30593, 4, 'mob30593_Die')
